import service from '@/utils/request'

const DynamicPressureApi = {
  addDynamicPressure: function (data) {
    return service.post('dynamicPressure', data)
  },
  deleteDynamicPressure: function (data) {
    return service.put('dynamicPressure/delete', data)
  },
  editDynamicPressure: function (data) {
    return service.put('dynamicPressure', data)
  },
  listDynamicPressure: function (data) {
    return service.get('dynamicPressure/page', {params: data })
  },
  getDynamicPressureInfo: function (data) {
    return service.get('dynamicPressure', {params: data })
  },
  getDynamicPressureDetectionList: function (data) {
    return service.get('sugar/list', {params: data })
  },
}

export default DynamicPressureApi